module.exports = {
  type: 'post',
  response: config => {
    const { username } = config.body

    if (!config.token) {
      return {
        code: 60204,
        message: 'Account and password are incorrect.',
      }
    }

    return {
      code: 20000,
      data: 'token',
    }
  },
}
